{% extends "base.html" %}

{% block areas_usuario %}

{% if perms.bdig.colaborador %}

{% if messages %}
<ul class="messagelist">
    {% for message in messages %}
    <li>{{ message|safe }}</li>
    {% endfor %}
</ul>
{% endif %}

<h2>Submissão de Trabalho</h2>

<form method="post" action="{% url bd_colaborador_submeter_trabalho %}">
    <div>
        <table>
        {{ formulario.as_table }}
        </table>

        <div class="submit-row">
            <input class="default" name="_addanother" value="Submeter" type="submit"></button>
        </div>
    </div>
</form>
{% else %}

{% include "adm/sem_permissao.html" %}

{% endif%}

{% endblock areas_usuario %}

{% block conteudo %}{% endblock conteudo %}

